package com.pay.paytoken.base;

import android.widget.ImageButton;
import android.widget.TextView;

import com.pay.paytoken.R;
import com.zhy.autolayout.AutoLinearLayout;

import butterknife.Bind;
import butterknife.OnClick;

/**
 * Created by zy on 2017/4/10.
 */

public abstract class BaseTitleActivity extends BaseActivity {
    @Bind(R.id.layout_title_iv_left)
    protected ImageButton mTitleLeft;
    @Bind(R.id.layout_title_textName)
    protected TextView mTitleName;
    @Bind(R.id.layout_title_ivSecond)
    protected ImageButton mTitleRight;
    @Bind(R.id.layout_title)
    protected AutoLinearLayout mTitleLayout;

    @OnClick(R.id.layout_title_iv_left)
    protected void setLeftClick() {
        finish();
    }

    protected void setRightClick() {

    }
}
